﻿<!DOCTYPE html>
@model _1142063_1142080_1142098.Models.BaseModel  
<html>
<head>
    <meta name="viewport" content="width=device-width" charset="utf8" />
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" href="~/Content/Site.css" type="text/css"/>
    <script type="text/javascript" src="~/Scripts/jquery.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.numeric.js"></script>
    <script type="text/javascript" src="~/Scripts/MyScripts.js"></script>
    @*<script type="text/javascript" src="~/Scripts/jquery.validate.min.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>*@
</head>
<body>
    <header>
        <div class="content-wrapper">
            <div class="float-left">
                <p class="site-title">@Html.ActionLink("your logo here", "Index", "Home")</p>
            </div>
            <div class="float-right">
                <section id="login">
                    @*@Html.Partial("_LoginPartial")*@
                </section>
                <nav>
                    <ul id="menu">
                        <li>@Html.ActionLink("Home", "Index", "Home")</li>
                        @*<li>@Html.ActionLink("About", "About", "Home")</li>
                        <li>@Html.ActionLink("Contact", "Contact", "Home")</li>*@
                        <li>@Html.ActionLink("Tra cứu Booking trong nước","TraCuuBookingTrongNuoc","Tour")</li>
                    </ul>
                </nav>
            </div>
        </div>
    </header>
    <div id="body">
        <section class="featured">
            <div class="content-wrapper">
                @*<hgroup class="title">
                    <h1>@ViewBag.Title.</h1>
                    <h2>@ViewBag.Message</h2>
                </hgroup>*@
                <p>
                    Tìm kiếm tour
                    @*<a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
                    The page features <mark>videos, tutorials, and samples</mark> to help you get the most from ASP.NET MVC.
                    If you have any questions about ASP.NET MVC visit
                    <a href="http://forums.asp.net/1146.aspx/1?MVC" title="ASP.NET MVC Forum">our forums</a>.*@
                </p>
                <input type="hidden" name="NoiDenRequest" id="NoiDenRequest" value="@Model.NoiDen" />
                <input type="hidden" name="GiaRequest" id="GiaRequest" value="@Model.Gia" />
                @using (Html.BeginForm("TimKiemTour","Home"))
                {         
                    <input type="hidden" name="Trang" id="Trang" value="1"/>    
                    @Html.RadioButtonFor(r => r.IsTrongNuoc, 0, new {onchange = "demo();", name = "IsTrongNuoc",style="width:20px;"})<b>Tour nước ngoài</b>
                    @Html.RadioButtonFor(r => r.IsTrongNuoc, 1, new {onchange = "demo();", name = "IsTrongNuoc",style="width:20px;"})<b>Tour trong nước</b>
                    <table width="100%" >
                        <tr>
                            <td>
                                Nơi khởi hành
                            </td>
                            <td>
                                @Html.DropDownListFor(r => r.NoiKhoiHanh, new SelectList(Model.NoiKhoiHanhList, "Name", "Name"),new{name="NoiKhoiHanh"})
                            </td>
                            <td>
                                Nơi đến
                            </td>
                            <td>
                                <select name="NoiDen" id="NoiDen">
                                    
                                </select>
                                @*@Html.DropDownListFor(r => r.NoiDen, new SelectList(Model.NoiDenList, "TenNoiDen", "TenNoiDen"), new { name="NoiDen", id="NoiDen"})*@
                            </td>
                            <td>
                                Giá
                            </td>
                            <td>
                                <select name="Gia" id="Gia">
                            
                                </select>
                                (VND)
                                @*@Html.DropDownListFor(r => r.NoiDen, new SelectList(Model.NoiDenList, "TenNoiDen", "TenNoiDen"), new { name="Gia", id="Gia"})*@
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Ngày đi (MM/dd/yyyy)
                            </td>
                            <td colspan="2">
                                @Html.TextBoxFor(r => r.NgayDi,new{name="NgayDi"})
                            </td>
                            <td colspan="3">
                                <input type="submit" value="Tìm kiếm" name="btnTimKiem" id="btnTimKiem"/>
                            </td>
                        </tr>
                    </table>
                }
            </div>
        </section>
        <section class="content-wrapper main-content clear-fix">
            @RenderBody()
        </section>
    </div>
</body>
</html>
